<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Admin Template">
    <meta name="keywords" content="admin dashboard, admin, flat, flat ui, ui kit, app, web app, responsive">
    <link rel="shortcut icon" type="image/png" href="/blogobj/images/home/code1.jpg">
    <title>登录|呵哈糊涂</title>

    <!-- Base Styles -->
    <link href="/basetemplate/css/style.css" rel="stylesheet">
    <link href="/basetemplate/css/style-responsive.css" rel="stylesheet">
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="/basetemplate/js/html5shiv.min.js"></script>
    <script src="/basetemplate/js/respond.min.js"></script>
    <![endif]-->


</head>

<body class="login-body">

<div class="login-logo">
    <img src="/blogobj/images/home/logo.png" alt=""/>
</div>

<h2 class="form-heading">还等什么?赶紧登录呀！！！</h2>
<div class="container log-row">
    <form class="form-signin" action="" method="post">
        {% with message = get_flashed_messages() %}
            {% if message %}
                {% for msg in message %}
                    <div class="alert alert-success">
                        <a href="#" class="close" data-dismiss="alert">&times;</a>
                        {{ msg }}
                    </div>
                {% endfor %}
            {% endif %}
        {% endwith %}
        <div class="login-wrap">
            <input type="text" class="form-control" placeholder="用户名" name="name" autofocus>
            <input type="password" class="form-control" placeholder="密码" name="password">
            <button class="btn btn-lg btn-success btn-block" type="submit">登录</button>

            <label class="checkbox-custom check-success">
                <input type="checkbox" value="remember-me" id="checkbox1" name="rempwd"> <label for="checkbox1">记住密码</label>
                <a class="pull-right" data-toggle="modal" href="#forgotPass">忘记密码?</a>
            </label>

            <div class="registration">
                米有账户?
                <a class="" href="{{ url_for('.reg') }}">
                    点我注册
                </a>
            </div>

        </div>

        <!-- Modal -->
        <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" id="forgotPass"
             class="modal fade">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                        <h4 class="modal-title">忘记密码了 ?</h4>
                    </div>
                    <div class="modal-body">
                        <p>填写注册邮箱点击确认进行重置密码</p>
                        <input type="text" name="email" placeholder="Email" autocomplete="off"
                               class="form-control placeholder-no-fix">
                    </div>
                    <div class="modal-footer">
                        <button data-dismiss="modal" class="btn btn-default" type="button">取消</button>
                        <button class="btn btn-success" type="button">确认</button>
                    </div>
                </div>
            </div>
        </div>
        <!-- modal -->

    </form>
</div>

<!--jquery-1.10.2.min-->
<script src="/basetemplate/js/jquery-1.11.1.min.js"></script>
<!--Bootstrap Js-->
<script src="/basetemplate/js/bootstrap.min.js"></script>
{#<script src="/basetemplate/js/jrespond..min.js"></script>#}

</body>
</html>
